package com.example.secutity.springmvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @author yingyuwei
 * @version 1.0.0
 * @description 对应web.xml中ContextLoaderListener的配置
 * @createTime 2021年02月26日 20:41:00
 */
@Configuration
@ComponentScan(basePackages = "com.example.secutity.springmvc",
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,value = Controller.class)})
public class ApplicationConfig {
}
